// AxyAXPpg.cpp : Implementation of the CAxyAXPropPage property page class.

#include "stdafx.h"
#include "axyAX.h"
#include "AxyAXPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CAxyAXPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CAxyAXPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CAxyAXPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CAxyAXPropPage, "AXYAX.AxyAXPropPage.1",
	0x7f54ada9, 0xf51b, 0x4fac, 0xa7, 0xaa, 0xa0, 0x6f, 0x1a, 0x98, 0x91, 0xe2)


/////////////////////////////////////////////////////////////////////////////
// CAxyAXPropPage::CAxyAXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CAxyAXPropPage

BOOL CAxyAXPropPage::CAxyAXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_AXYAX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CAxyAXPropPage::CAxyAXPropPage - Constructor

CAxyAXPropPage::CAxyAXPropPage() :
	COlePropertyPage(IDD, IDS_AXYAX_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CAxyAXPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CAxyAXPropPage::DoDataExchange - Moves data between page and properties

void CAxyAXPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CAxyAXPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CAxyAXPropPage message handlers
